package cz.proks.easyhelpdesk.gae.api.impl.ws;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cz.proks.easyhelpdesk.api.TicketApi;
import cz.proks.easyhelpdesk.api.config.Configuration;
import cz.proks.easyhelpdesk.api.model.Ticket;

@Controller(Configuration.WS.TICKET_API)
@RequestMapping(Configuration.WS.TICKET_BASE_URL)
public class TicketApiImpl extends BaseApiImpl<Ticket> implements TicketApi {	
    private final Logger log = LoggerFactory.getLogger(getClass());
    
	@Autowired
	@Qualifier(Configuration.Core.WS.TICKET_API)
	private TicketApi coreApi;

	@Override
	protected TicketApi getCoreApi() {
		return coreApi;
	}		
}
